//
//  HLRtcMatchSuccessView.h
//  YueYue
//
//  Created by hulu001 on 2023/6/20.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface HLRtcMatchSuccessView : UIView

@property (assign,  nonatomic) NSInteger type;

@property (copy,    nonatomic) void(^enterBlock)(void);
@property (copy,    nonatomic) void(^backBlock)(void);
@property (copy,    nonatomic) void(^rematchBlock)(void);

@property (strong,  nonatomic) HLUserInfoModel *matchUserModel;

@property (strong,  nonatomic) UIView *rtcView;
@property (strong,  nonatomic) UIView *maskView;

@property (strong,  nonatomic) UILabel *statusLabel; // 倒计时、连接中、连接失败

@property (strong,  nonatomic) UIButton *rematchButton;

/// 初始化
/// @param frame frame
/// @param type 1:视频 2:IM
- (instancetype)initWithFrame:(CGRect)frame type:(NSInteger)type;


@end

NS_ASSUME_NONNULL_END
